package com.imessage.service;

import com.bean.BusinessTaskDetail;
import com.bean.DeviceClient;
import com.bean.DeviceVirtual;

public interface VirtualService {

    /***
     * 找到需要删除的虚拟机
     * @param deviceClient
     * @return
     */
    public DeviceVirtual findFinishVirtual(DeviceClient deviceClient);

    /***
     * 获取正在运行的虚拟机数量
     * @param deviceClient
     * @return
     */
    public long  getRunVirtualCount(DeviceClient deviceClient);

    /***
     * 返回新的虚拟机
     * @param deviceClient
     * @return
     */
    public DeviceVirtual  getNewDeviceVirtual(DeviceClient deviceClient);


    /***
     * 获取需要启动的虚拟机
     * @param deviceClient
     * @return
     */
    public DeviceVirtual  findNeedRunVirtual(DeviceClient deviceClient);


    public DeviceVirtual findNeedFinishVirtual(DeviceClient deviceClient);





}
